#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0fc62711 |
|
01-May-2024 |
Tom Rini <trini@konsulko.com> |
sound: Remove <common.h> and add needed includes Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
41575d8e |
|
03-Dec-2020 |
Simon Glass <sjg@chromium.org> |
dm: treewide: Rename auto_alloc_size members to be shorter This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f2b25c9b |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Complete migration to driver model All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d6cadd59 |
|
10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Add conversion to driver model Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
a1efd49e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Fix up header ordering Tidy up the ordering of header files in the sounds files. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9ca9f6d5 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop wm8994_i2c_init() This function has only one line in it. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
62ba8318 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info These are only used in two functions so can be made local. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6ab0d25d |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Drop global i2c-address variable We can put this in the private structure and avoid a global. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
cfbe7623 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm899c: Split out interface setup code With driver model we want to do a minimal probe when the device is probed and then set up the codec interface later when a sound is actully played. Split this setup code out into its own function to help with this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
54e67e27 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Create a new common init function With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
107ab83e |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: wm8994: Pass private data to internal functions At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout. Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7153ad83 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d2eab333 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Drop unused pre-device-tree code CONFIG_OF_CONTROL is enabled for all boards that use sound, so remove the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
eb133502 |
|
03-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: samsung: Make local function static Several functions are not exported from this file. Make them static so this is clear. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
83d290c5 |
|
06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
150c5afe |
|
30-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: gpio: Add live tree support Add support for requesting GPIOs with a live device tree. This involves adjusting the function signature for the legacy function gpio_request_by_name_nodev(), so fix up all callers. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes to stm32f746-disco.c: Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
0f925822 |
|
11-Aug-2015 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
of: clean up OF_CONTROL ifdef conditionals We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear away the ugly logic in include/fdtdec.h: #ifdef CONFIG_OF_CONTROL # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL) # define OF_CONTROL 0 # else # define OF_CONTROL 1 # endif #else # define OF_CONTROL 0 #endif Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute. It refers to CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for SPL. Also, we no longer have to cancel CONFIG_OF_CONTROL in include/config_uncmd_spl.h and scripts/Makefile.spl. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
|
#
d981d80d |
|
11-Sep-2013 |
Dani Krishna Mohan <krishna.md@samsung.com> |
Sound: WM8994: Support I2S0 channel This patch modifies the WM8994 codec to support I2S0 channel in codec slave mode Signed-off-by: Dani Krishna Mohan <krishna.md@samsung.com>
|
#
1a459660 |
|
08-Jul-2013 |
Wolfgang Denk <wd@denx.de> |
Add GPL-2.0+ SPDX-License-Identifier to source files Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
|
#
6647c7ac |
|
26-Dec-2012 |
Rajeshwari Shinde <rajeshwari.s@samsung.com> |
Sound: WM8994: Add FDT support to codec This patch adds FDT support to the codec. Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
|
#
a2d8e0a7 |
|
25-Oct-2012 |
Rajeshwari Shinde <rajeshwari.s@samsung.com> |
SOUND: Add WM8994 codec This patch adds driver for audio codec WM8994 Signed-off-by: R. Chandrasekar <rcsekar@samsung.com> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
|